const TOKEN_KEY = 'iot_token'

// 获取Token
export function getToken() {
  return localStorage.getItem(TOKEN_KEY)
}

// 设置Token
export function setToken(token) {
  return localStorage.setItem(TOKEN_KEY, token)
}

// 移除Token
export function removeToken() {
  return localStorage.removeItem(TOKEN_KEY)
} 